import React, {Component} from 'react';

import { Modal, Button, Input, Form, DatePicker } from 'antd';

// import Button from 'antd/lib/button';
// import 'antd/lib/button/style/index.less';
import './index.scss';

import formate from 'utils/formate';

import SearchForm from './searchForm';

import { hot } from 'react-hot-loader';

class A11 extends Component{


    constructor() {
        super();
        this.state = {
            name: '',
            num: 1
        }
    }

    componentDidMount() {
        formate.log();
        console.log('loaded', +new Date());
        setTimeout(()=> {
            this.setState({
                num: ++ this.state.num
            })
        }, 1000)
    }

    render() {
        return (
            <div className='J_body_wrap'>
                <span>a11</span>
                <div>
                    name: {this.state.num}
                </div>
                <SearchForm />
                <Button type="primary">a11 Btnssss</Button>
            </div>
        )
    }
}


export default A11;